package com.itheima.reggin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggin.common.R;
import com.itheima.reggin.dto.OrdersDto;
import com.itheima.reggin.entity.Orders;
import com.itheima.reggin.entity.PageDto;

import javax.servlet.http.HttpSession;

public interface OrdersService extends IService<Orders> {
    R<String> submit(Orders orders, HttpSession session);
    R<PageDto<OrdersDto>> userPage(PageDto<OrdersDto> pageDto, HttpSession session);
}
